<?php
session_start();

include((dirname(dirname(dirname(__FILE__))))."/functions/inc/mydb.inc.php");
include((dirname(dirname(dirname(__FILE__))))."/functions/inc/seguridad.php");

if(isset($_GET["id"]) && is_numeric($_GET["id"])){
    $db = new mydb();
    $db->rawData("UPDATE tarjeta_rosa SET tj_rosa_eliminado={$_SESSION["usuario_gestor"]["us_id"]} WHERE  tj_rosa_id=".$_GET["id"]);
}
    
echo "<script>
       location.reload(); 

    </script>";
?>
